package com.rui.sideup.module.codegen.core.gen;

import com.rui.sideup.module.codegen.core.extractor.ColumnFilter;
import com.rui.sideup.module.codegen.core.model.Table;

import java.io.IOException;

public interface CodeGenerator {

    void setTable(Table table);

    String generate();

    void generate(String file) throws IOException;

    String getFilePath();

    String getFileName();

    String getType();

    void filter();

    void addFilter(ColumnFilter f);

    void removeFilter(ColumnFilter f);
}
